package my.graduation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: RavenLyn
 * @Date: 2024-12-10
 *
 * 门诊信息表
 */


@Data
@TableName("clinic") //映射
public class Clinic {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 科室id
     */
    @TableField("department_id")
    private Integer departmentId;

    /**
     * 门诊名称
     */
    @TableField("name")
    private String name;


}
